﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using System.Text;

namespace LINQToolKit.Configuration
{
    public class TypeConfiguration : ConfigurationBase
    {
        public Type Type { get; set; }

        protected override void Initialize(XElement element)
        {
            if (base.Attributes.ContainsKey("type"))
            {
                this.Type = Type.GetType(base.Attributes["type"], true);
            }
        }
    }
}
